package com.whmskj.xjlhsc.qianYiData.dto;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class ProcessRunStatsSyncResult {
    private int updated;     // rows updated in UPDATE
    private int inserted;    // rows inserted in INSERT

    public int getAffected() {
        return updated + inserted;
    }

    private List<ProcessRunStatsChange> changes = new ArrayList<>();
}

